{% extends "toast/base.template.html" %}


{% block breadcrumbs %}
	<li><a href="/toast/meeting/view/{{ participation.attendance.meeting.id }}">{{ participation.attendance.meeting.name }}</a> <span class="divider">/</span></li>
	<li><a href="/toast/attendance/view/{{ participation.attendance.id }}">{{ participation.attendance.member.first_name_first }}</a> <span class="divider">/</span></li>
	<li><a href="/toast/participation/view/{{ participation.id }}">{{ participation.name }}</a> <span class="divider">/</span></li>
	<li class="active">Edit</li>
{% endblock %}


{% block sidecontent %}
	<div class="btn-toolbar">
		<div class="btn-group">
			<a class="btn" href="/toast/participation/view/{{ participation.id }}">View</a>
			<a class="btn active" href="/toast/participation/edit/{{ participation.id }}">Edit</a>
			<a class="btn confirm" href="/toast/participation/delete/{{ participation.id }}" message="Are you sure you want to delete this member's participation?">Delete</a>
		</div>
	</div>
{% endblock %}


{% block content %}
	<form method="POST" class="form-inline">
	{% csrf_token %}
		{{ form.name }}
		{{ form.participation_type }}
		<input type="hidden" name="attendance" value="{{ participation.attendance.id }}" />
		<input class="btn btn-primary" type="submit" name="participation_edit" value="Save Changes" />
	</form>
{% endblock %}